package com.lxh.command;

/**
 * 具体的命令类 将一个接收者绑定，调用接收者相应的操作
 * 烤鸡翅命令
 * Create by lxh on 2020/2/14
 */
public class BakeChickenWingCommand extends Command{


    public BakeChickenWingCommand(Barbecuer barbecuer) {
        super(barbecuer);
    }

    @Override
    public void executeCommand() {
        barbecuer.BakeChickenWing();
    }

    @Override
    public String toString() {
        return "鸡翅";
    }
}
